import{d as l,b as d,o as i,a as t,c as s,e as m,u as a,_ as c,t as n,bg as o,bj as r,bk as u,s as p,ar as h,ah as y}from"./CtbHscGXagutd.js";import"./DodXNg5_2Xyf8y.js";import"./CtybWkkwagutd.js";const f={class:"app-list-item-inner app-list-item-border"},k={class:"app-list-item-state"},v={class:"app-list-item-line1"},b={class:"app-list-item-date"},B={class:"app-list-item-amount"},C=["data-credit"],g={class:"app-list-item-number"},x={class:"app-list-item-line2"},z={class:"app-list-item-contact"},$=l({__name:"app-list-item-pay",props:{item:{},selected:{type:Boolean},selectedLast:{type:Boolean},size:{}},setup(e){return(D,L)=>(i(),d("div",{class:y(["app-list-item",{selected:e.selected,selectedLast:e.selectedLast}]),style:h({height:`${e.size}px`})},[t("div",f,[t("div",k,[e.item.star?(i(),s(a(c),{key:0,name:"star"})):e.item.confirmed?m("",!0):(i(),s(a(c),{key:1,name:"unconfirmed"}))]),t("div",v,[t("div",b,n(a(o)(e.item?.date)),1),t("div",B,[t("div",{class:"app-list-item-credit","data-credit":!!e.item.credit},[e.item.credit?(i(),s(a(c),{key:0,name:"credit"})):m("",!0),e.item.credit?m("",!0):(i(),s(a(c),{key:1,name:"debit"}))],8,C),t("span",g,n(a(r)(a(u)(e.item.amount,e.item.currency,e.item.exchangeRate))),1)])]),t("div",x,[t("div",z,n((e.item.contact&&a(p).workspace?.items?.[e.item.contact]?.title)??" ")+"  ",1)])])],6))}});export{$ as default};